package com.emptyMe.org.mapper;

import com.emptyMe.org.domain.Goods;
import com.emptyMe.org.domain.Size;
import com.emptyMe.org.domain.Type;
import com.emptyMe.org.query.GoodsQuery;

import java.util.List;

public interface GoodsMapper {

    void AddGood(Goods goods);

    void updateGood(Goods goods);

    void delGood(List<Long> id);

    List<Goods> findAllGood(GoodsQuery query);

    List<Type> findType();

    List<Size>findSize(Long goodId);

    Integer sumNum(Long id);
}
